package cn.dengta.webapp.im.entity;

import java.util.Date;

import cn.dengta.webapp.base.entity.BizEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 女主播录制视频
 *
 * @author zw
 * @since 2022-09-07
 */
@Setter
@Getter
@Accessors(chain = true)
@TableName("dt_user_white_video")
public class UserWhiteVideo extends BizEntity {

	private static final long serialVersionUID = 1L;

	/** 关联用户ID */
	private Long userId;
	/** 视频 */
	private String video;

	public UserWhiteVideo init(Long userId, String video, Date now) {
		this.userId = userId;
		this.video = video;
		super.initTime(now);
		super.initActiveStatus();
		return this;
	}

	public static final String USER_ID = "user_id";
	public static final String VIDEO = "video";
	public static final String STATUS = "status";
	public static final String STATE = "state";

}
